import refletion_one as s


# Python的反射主要有这些：
# 1.getattr
# 1.setattr
# 1.delattr
# 4.hasattr

call_str = input("input which function you want to call :")

if hasattr(s, call_str):  # 判断是否存在函数call_str，这样处理  				       就不会报错了
    obj = getattr(s, call_str)
    print(obj())
else:
    print("404 not Found")
